import request from '@/utils/request'

// 地区列表
export function areasLists(params?: Record<string, any>) {
    return request.get({ url: '/areas/list', params })
}

// 地区详情
export function areasDetail(params: Record<string, any>) {
    return request.get({ url: '/areas/detail', params })
}

// 地区新增
export function areasAdd(params: Record<string, any>) {
    return request.post({ url: '/areas/add', params })
}

// 地区编辑
export function areasEdit(params: Record<string, any>) {
    return request.post({ url: '/areas/edit', params })
}

// 地区删除
export function areasDelete(params: Record<string, any>) {
    return request.post({ url: '/areas/del', params })
}
